import http from '../utils/request'
export default{
    login:function(data){
        return http.post('/login',data,{dataType:'form'});
    },
    getUserMenus:function(){
        return http.get('/login/menu');
    },
    getUserPermissions:function(){
        return http.get('/user/permissions');
    },
    getKaptcha:function(){
        return http.get('/kaptcha');
    }
}
